package com.tvunetworks.center.device.mapper;

import com.tvunetworks.center.device.model.Favorite;
import com.tvunetworks.center.device.model.param.FavoriteParam;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.special.InsertListMapper;

import java.util.List;
/**
 * @program: tvucc-aggregator
 * @author lebronchen
 * @create: 2019-11-05 14:45
 **/
public interface DeviceGeoFavoriteMapper extends Mapper<Favorite>, InsertListMapper<Favorite> {
    /**
     *
     * @param favoriteParam favoriteParam
     * @return List
     */
    List<Favorite> list(FavoriteParam favoriteParam);

    /**
     * 根据id进行删除
     * @param id id
     */
    void deleteById(@Param("id") String id);

}
